package com.alander.nexusgo.user;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication(scanBasePackages = {"com.alander.nexusgo"})
@MapperScan({
        "com.alander.nexusgo.user.mapper",
        "com.alander.nexusgo.framework.file.starter.mapper"
})
@EnableFeignClients
@EnableDiscoveryClient
public class NexusgoUserApplication {

    public static void main(String[] args) {
        SpringApplication.run(NexusgoUserApplication.class, args);

        String logo = """
                
                  ██████╗  ██████╗\s
                 ██╔════╝ ██╔═══██╗
                 ██║  ███╗██║   ██║
                 ██║   ██║██║   ██║
                 ╚██████╔╝╚██████╔╝
                  ╚═════╝  ╚═════╝\s
                """;
        System.out.println(logo);
        System.out.println("[NexusGo] User模块启动成功");
        System.out.println("[NexusGo] 服务就绪时间: " + new java.util.Date());
    }

}
